﻿namespace EMall.Domain
{
    public interface IAggregateRoot : IEntity
    {
        IReadOnlyList<IDomainEvent> DomainEvents { get; }
        void ClearDomainEvents();
    }
    public interface IAggregateRoot<TKey> : IEntity<TKey>, IAggregateRoot { }
}